
{include file="public:header"/}

{include file="public:sidemenu"/}


<div class="content-page">
    <!-- Start content -->
    <div class="content">
        <div class="am-g">
            <!-- Row start -->
            <div class="am-u-sm-12">
                <div class="card-box">
                    <ul class="am-nav am-fr">
                        <li class="am-dropdown" data-am-dropdown>
                            <a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
                                <span class="am-icon-caret-down"></span>
                            </a>

                        </li>
                    </ul>

                    <form class="am-form" data-am-validator method="POST" action="{:url('edit')}" enctype="multipart/form-data">
                        <fieldset>
                            <input type="hidden" name="ac_id" value="{$activity.ac_id}">
                            <div class="form-group">
                                <label for="ac_name" class="col-md-2 col-xs-2 control-label">活动名称</label>
                                <div class="col-md-10 col-xs-10">
                                    <input type="text" id="ac_name" name="ac_name" placeholder="ac_name" value="{$activity.ac_name}" required>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="ac_address" class="col-md-2 col-xs-2 control-label">地点</label>
                                <div class="col-md-10 col-xs-10">
                                    <input type="text" id="ac_address" name="ac_address" placeholder="ac_address" value="{$activity.ac_address}" required>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="ac_time" class="col-md-2 col-xs-2 control-label">时间</label>
                                <div class="col-md-10 col-xs-10">
                                    <input type="text" id="ac_time" name="ac_time" placeholder="ac_time" value="{$activity.ac_time}" required>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="ac_num" class="col-md-2 col-xs-2 control-label">人数</label>
                                <div class="col-md-10 col-xs-10">
                                    <input type="text" id="ac_num" name="ac_num" placeholder="ac_num" value="{$activity.ac_num}" required>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="ac_price" class="col-md-2 col-xs-2 control-label">价格</label>
                                <div class="col-md-10 col-xs-10">
                                    <input type="text" id="ac_price" name="ac_price" placeholder="ac_price" value="{$activity.ac_price}" required>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="ac_intro" class="col-md-2 col-xs-2 control-label">活动简介</label>
                                <div class="col-md-10 col-xs-10">
                                    <input type="text" id="ac_intro" name="ac_intro" placeholder="ac_intro" value="{$activity.ac_intro}" required>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="ac_tel" class="col-md-2 col-xs-2 control-label">联系电话</label>
                                <div class="col-md-10 col-xs-10">
                                    <input type="text" id="ac_tel" name="ac_tel" placeholder="ac_tel" value="{$activity.ac_tel}" required>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="ac_pic" class="col-md-2 col-xs-2 control-label">图片</label>
                                <div class="col-md-10 col-xs-10">
                                    <img src="__STATIC__/admin/images/{$activity.ac_pic}" style="width: 100px" >
                                    <input type="hidden" name="ac_pic1" value="{$activity.ac_pic}">
                                    <input type="file" id="ac_pic" name="ac_pic" placeholder="ac_pic" value="{$activity.ac_pic}" >
                                </div>
                            </div>

                            <button class="am-btn am-btn-secondary" type="submit">提交</button>
                        </fieldset>
                    </form>


                </div>
            </div>
            <!-- Row end -->
        </div>




    </div>
</div>











{include file="public:footer"/}